package com.neusoft.model;

import com.neusoft.model.entity.Dept;
import com.neusoft.model.entity.Emp;

//扩展了Emp实体, 用于体现Emp&dept的关系
public class EmpModel extends Emp{
	
	//m:1的关系
	
	//部门对象
	private Dept dept;

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}
	
	//上司对象
	private Emp manager;
	//set,get
	
}
